package com.mybatis.dao;

import com.mybatis.bean.Right;
import com.mybatis.bean.Role;
import com.mybatis.bean.RoleAndRight;

import java.util.List;

public interface RoleAndRightDao {
    void updateRoleAndRight(RoleAndRight roleAndRight);
    List<Role> findAllRightByRole();
    List<Right> findAllRoleByRight();
}
